a = int(input("请输入一个数"))
while a > 0:
    temp = a % 10
    print(temp)
    a //= 10
